/****************************************************************************

	COPYRIGHT(C) MAXSI SOFTWARE, JONAS 'SORTIE' TERMANSEN 2008, 2009, 2010
	ALL RIGHTS RESERVED

	MaxsiInstaller.exe
	The main installing technology utilized in the powerful Maxsi Distribution
	platform.

	Main.h
	Basic WIN32 functions and stuff

****************************************************************************/

#ifndef Main_H
#define Main_H


	class MaxsiInstaller : public ME_Win32Entry
	{
		Declare_Class(MaxsiInstaller,ME_Win32Entry);

	public:
					int WINAPI			WinMain				(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
					BOOL				InitApplication		(HANDLE hInstance);
					BOOL				InitInstance		(HINSTANCE hInstance, INT nCmdShow);
		virtual		LRESULT APIENTRY	WindowProc			(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
					DWORD				OnThreadRegistered	(HWND hWnd);

	};

	ME_WIN32ENTRYPOINT_H(MaxsiInstaller);

	//bool	RunDefaultMISScript();
	bool	ParseCommandLine();
	bool	ParseDataParameters(char* Parameters);

#endif